package com.yida.gwj.config.service;

import java.util.List;

import com.alibaba.fastjson2.JSONObject;
import com.yida.gwj.api.domain.GwjConfBusinessFlag;

/**
 * 业务标识Service接口
 *
 * @author lqq
 * @date 2022-12-21
 */
public interface IGwjConfBusinessFlagService {

    /**
     * 查询业务标识
     *
     * @param bizFlagId 业务标识主键
     * @return 业务标识
     */
    public GwjConfBusinessFlag selectGwjConfBusinessFlagByBizFlagId(Integer bizFlagId);

    /**
     * 查询业务标识列表
     *
     * @param gcBusinessFlag 业务标识
     * @return 业务标识集合
     */
    public List<GwjConfBusinessFlag> selectGwjConfBusinessFlagList(GwjConfBusinessFlag gcBusinessFlag);

    /**
     * 新增业务标识
     *
     * @param gcBusinessFlag 业务标识
     * @return 结果
     */
    public int insertGwjConfBusinessFlag(GwjConfBusinessFlag gcBusinessFlag);

    /**
     * 修改业务标识
     *
     * @param gcBusinessFlag 业务标识
     * @return 结果
     */
    public int updateGwjConfBusinessFlag(GwjConfBusinessFlag gcBusinessFlag);

    /**
     * 批量删除业务标识
     *
     * @param bizFlagIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteGwjConfBusinessFlagByBizFlagIds(Long[] bizFlagIds);

    /**
     * 删除业务标识
     *
     * @param bizFlagId 业务标识主键
     * @return 结果
     */
    public int deleteGwjConfBusinessFlagByBizFlagId(Long bizFlagId);

    /**
     * 查询业务标识
     *
     * @param gcBusinessFlag
     * @return 业务标识
     */
    public List<GwjConfBusinessFlag> selectGwjConfBusinessFlag(GwjConfBusinessFlag gcBusinessFlag);

    /**
     * 根据bizFlagId获取详细配置信息
     * 
     * 20230829
     * 
     * @param bizFlagId
     * @return
     */
    public JSONObject selectGwjConfBusinessFlagInfoByBizFlagId(Integer bizFlagId);
}
